/**
 * @CommonDao.java
 * Copyright (c) 2010, Strong. All Rights Reserved.
 */
package cn.strong.scweb.common.dao;

import java.util.List;

/**
 * 
 * 
 * @author lilanfei
 * @version 1.0
 * @since 2010/02/04
 */
public interface CommonDao {

    /**
     * @param method
     * @param para
     * @return
     */
    public Object selectObj(String method, Object para);

    /**
     * @param method
     * @param para
     * @return
     */
    public List<Object> selectList(String method, Object para);

    /**
     * @param method
     * @param para
     * @return
     */
    public int selectCount(String method, Object para);

    /**
     * @param method
     * @param para
     * @return
     */
    public int update(String method, Object para);

    /**
     * @param method
     * @param para
     */
    public void insert(String method, Object para);
}